<div class="content-form">
    <h2><?php echo $this->titulo; ?></h2>
    <div id="content-form">
        <?php echo $this->form ; ?>
    </div>
</div>

    <?php if ($this->fechar) { ?>
<script>
    verfchcaixa();
</script>
<?php } ?>

<div class="modal fade" id="FecharCaixaModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" id="exampleModalLabel">Fechamento do Caixa</h4>
            </div>
            <div class="modal-body">
                <form role="form">
                    <div class="form-group">
                        <label for="recipient-name" class="control-label">Saldo final:</label>
                        <input type="text" class="form-control valor_pre2" id="vlr_fim">
                    </div>
                    <div class="form-group">
                        <label for="message-text" class="control-label">Observação:</label>
                        <textarea class="form-control" id="message-text" id="obs_fim"></textarea>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
                <button type="button" class="btn btn-primary btn-fechar-caixa">Fechar Caixa</button>
            </div>
        </div>
    </div>
</div>